/* 需要设置body初始化样式 */

body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 16px/1.5 PingFangSC-regular,
    Tahoma,
    Lucida Grande,
    Verdana,
    Microsoft Yahei,
    STXihei,
    hei;
  color: #000;
  background: #f4f4f4;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  /* 当移动设备横竖屏切换时，文本的大小会重新计算，进行相应的缩放，当我们不需要这种情况时，可以选择禁止： */
  height: 700px;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #333333;
  font-size: 12px;
}

ul {
  list-style: none;
}

/* 顶部搜索模块开始 */
.search-index {
  /* 固定定位的盒子要有大小 */
  display: flex;
  position: fixed;
  width: 100%;
  height: 50px;
  min-width: 320px;
  max-width: 540px;
  background-color: #ffffff;
  z-index: 999;
}

.search-box {
  position: fixed;
  position: relative;
  flex: 1;
  height: 32px;
  margin: 12px 28px;
  border-radius: 16px;
  border: 1px solid #0086f6;
  line-height: 32px;
}

.search-fonts {
  position: absolute;
  left: 12px;
  font-family: "iconfont";
  font-size: 22px;
  color: #7c7c7c;

}

.search-content {
  margin-left: 38px;
  color: #999999;
  font-size: 15px;
}

/* 顶部搜索模块结束 */
/* 导航栏模块one开始 */
.nav {
  display: flex;
  background-color: #fff;
  padding-top: 6px;
  overflow: hidden;
  width: 200%;
  height: 182px;
  transform: translateY(50px);
  /* height: 310px; */

}

/* .nav-index {
  flex: 1;
  border-radius: 8px;
  margin: 0px 12px;
  overflow: hidden;

} */
.nav .nav-right {
  flex: 1;
  border-radius: 8px;
  margin: 0px 12px;
  overflow: hidden;
  /* display: none; */
}

.nav .nav-left {
  flex: 1;
  border-radius: 8px;
  padding: 0px 12px;
  overflow: hidden;
  /* display: none; */
}

.nav-content {
  display: flex;
  width: 100%;
}

.nav-content li {
  flex: 1;
  background-color: #0086f6;
  margin-bottom: 1px;
  margin-left: 1px;
}

.nav-content li:nth-child(1) {
  margin-left: 0px;
}

.nav-one {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: -webkit-linear-gradient(top, #fa5a56, #fb8450);
}

.nav-one span:nth-child(1) {
  height: 28px;
  width: 28px;
  margin-top: 6px;
  margin-bottom: 2px;
  background: url(../images/mainnav.png) no-repeat;
  background-position: 0 -84px;
  background-size: 28px 420px;
}

.nav-one span:nth-child(2) {
  color: #ffffff;
  padding-bottom: 4px;
}

.nav-content li:nth-child(2) .nav-one {
  background: -webkit-linear-gradient(top, #3c83fa, #4fb0fa);
}

.nav-content li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -168px;
}

.nav-content li:nth-child(3) .nav-one {
  background: -webkit-linear-gradient(top, #5f81ff, #66a3ff);
}

.nav-content li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -364px;
}

.nav-content li:nth-child(4) .nav-one {
  background: -webkit-linear-gradient(top, #30c4b6, #51d8b3);
}

.nav-content li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -140px;
}

.nav-content li:nth-child(5) .nav-one {
  background: -webkit-linear-gradient(top, #ff8939, #ffa846);
}

.nav-content li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -28px;
}

/* 导航栏模块one结束 */
/* 导航栏模块two开始 */
.nav-index .nav-content-two li a span {
  color: #333333;
}

.nav-content-two li:nth-child(1) .nav-one {
  background: #fff5f1;
}

.nav-content-two li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 -336px;
}

.nav-content-two li:nth-child(2) .nav-one {
  background: #eff9ff;
}

.nav-content-two li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -56px;
}

.nav-content-two li:nth-child(3) .nav-one {
  background: #f2f5ff;
}

.nav-content-two li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -224px;
}

.nav-content-two li:nth-child(4) .nav-one {
  background: #ecfcf8;
}

.nav-content-two li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -196px;
}

.nav-content-two li:nth-child(5) .nav-one {
  background: #fff9f2;
}

.nav-content-two li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -112px;
}

/* 导航栏模块two结束 */
/* 导航栏模块three开始 */
.nav-index .nav-content-three li a span {
  color: #333333;
}

.nav-index .nav-content-three li {
  margin-bottom: 0px;
}

.nav-content-three li:nth-child(1) .nav-one {
  background: #fff5f1;
}

.nav-content-three li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 0px;
}

.nav-content-three li:nth-child(2) .nav-one {
  background: #eff9ff;
}

.nav-content-three li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -280px;
}

.nav-content-three li:nth-child(3) .nav-one {
  background: #f2f5ff;
}

.nav-content-three li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -252px;
}

.nav-content-three li:nth-child(4) .nav-one {
  background: #ecfcf8;
}

.nav-content-three li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -392px;
}

.nav-content-three li:nth-child(5) .nav-one {
  background: #fff9f2;
}

.nav-content-three li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -308px;
}

/* 导航栏模块three结束 */
/* 导航栏模块right开始 */
/*  */
.nav-left .nav-content {
  margin-bottom: 13px;
}

.nav-left .nav-content li a span {
  color: #333333;
}

.nav-left .nav-one span:nth-child(1) {
  height: 28px;
  width: 28px;
  margin-top: 0px;
  margin-bottom: -2px;
  background: url(../images/subnav.png) no-repeat;
  background-position: 0 -84px;
  background-size: 28px 673px;
}

.nav-left .nav-content li .nav-one {
  background: #fff;
}

.nav-left .nav-content li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 0px;
}


.nav-left .nav-content li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -420px;
}


.nav-left .nav-content li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -504px;
}

.nav-left .nav-content li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -168px;
}

/*  */
.nav-left .nav-left-two li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 -532px;
}

.nav-left .nav-left-two li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -392px;
}

.nav-left .nav-left-two li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -280px;
}

.nav-left .nav-left-two li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -448px;
}

.nav-left .nav-left-two li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -588px;
}

/*  */
.nav-left .nav-left-three li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 -644px;
}

.nav-left .nav-left-three li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -252px;
}

.nav-left .nav-left-three li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -224px;
}

.nav-left .nav-left-three li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -560px;
}

.nav-left .nav-left-three li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -112px;
}

/*  */
.nav-left .nav-left-four li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 -56px;
}

.nav-left .nav-left-four li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -140px;
}

.nav-left .nav-left-four li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -476px;
}

.nav-left .nav-left-four li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -336px;
}

.nav-left .nav-left-four li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -196px;
}

/*  */
.nav-left .nav-left-five li:nth-child(1) .nav-one span:nth-child(1) {
  background-position: 0 -28px;
}

.nav-left .nav-left-five li:nth-child(2) .nav-one span:nth-child(1) {
  background-position: 0 -308px;
}

.nav-left .nav-left-five li:nth-child(3) .nav-one span:nth-child(1) {
  background-position: 0 -616px;
}

.nav-left .nav-left-five li:nth-child(4) .nav-one span:nth-child(1) {
  background-position: 0 -364px;
}

.nav-left .nav-left-five li:nth-child(5) .nav-one span:nth-child(1) {
  background-position: 0 -532px;
}

/*  */

/* 导航栏模块right结束 */
.dot {
  width: 100%;
  margin-top: 56px;
}

.dot ul {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.dot ul li {
  width: 4px;
  height: 4px;
  /* background-color: #cccccc; */
  background-color: #cccccc;
  border-radius: 4px;


}

/* .dot ul li:nth-child(1) {
  width: 14px;
  height: 4px;
  margin-right: 4px;
  background-color: #0086f6;
} */

.dot ul .dot-current-left {
  width: 14px;
  height: 4px;
  margin-right: 4px;
  background-color: #0086f6;
  transition: width .2s;
}

.dot ul .dot-current-right {
  width: 14px;
  height: 4px;
  margin-left: 4px;
  background-color: #0086f6;
  transition: width .2s;
}

/* content 模块开始 */
.content {
  display: flex;
  background-color: yellow;
  height: 148px;
  margin: 16px 10px;
}

.content-left {
  position: relative;
  flex: 1;
  padding-left: 8px;
  background-color: aqua;
  margin-right: 10px;
  border-radius: 5px;
  width: 50%;
  /* width: 172px; */
}

.content-right {
  flex: 1;
  background-color: pink;
  border-radius: 5px;
  width: 50%;
}

.content-left-title {
  display: flex;
  margin-top: 8px;
  height: 20px;
}

.content-left-special {
  flex: 1;

}

.content-left-special img {
  height: 100%;
}

.content-left-live {
  flex: 1;
  padding-top: 1px;
  background-color: #ffebec;
  border-radius: 2px;
  color: #ff4307;
  font-size: 12px;
}

.content-left-img {
  margin-top: 6px;
  border-radius: 5px;
  overflow: hidden;
  width: 160px;
  height: 84px;
}

.swiper img {
  width: 160px;
  height: 84px;
}

.tag {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 0px 3px;
  background-color: #333333;
  color: #ffffff;
  font-size: 12px;

}

.product {
  position: absolute;
  bottom: 7px;
  left: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  /* z-index: 1000; */

}


/* content 模块结束 */